package com.toughsoftware.pins.fragmentactivity;

import com.toughsoftware.pins.fragment.FrgPinDetail;
import com.toughsoftware.pins.R;
import com.toughsoftware.pins.util.Constants;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

public class ActDetail extends FragmentActivity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.pin_detail);
		
		FrgPinDetail detalle = 
				(FrgPinDetail)getSupportFragmentManager()
					.findFragmentById(R.id.FrgDetalle);
		
		detalle.showDetail(getIntent().getStringExtra(Constants.EXTRA_TEXT));
	}
}
